package cn.com.customer.manager.bean


import com.google.gson.annotations.SerializedName

data class CustomerInfo(
        @SerializedName("address")
        var address: String,
        @SerializedName("birthday")
        var birthday: String,
        @SerializedName("city")
        var city: String,
        @SerializedName("companyName")
        var companyName: String,
        @SerializedName("country")
        var country: String,
        @SerializedName("duty")
        var duty: String,
        @SerializedName("email")
        var email: String,
        @SerializedName("fax")
        var fax: String,
        @SerializedName("groups")
        var groups: List<Group>,
        @SerializedName("headUrl")
        var headUrl: String,
        @SerializedName("id")
        var id: String,
        @SerializedName("mobile")
        var mobile: String,
        @SerializedName("name")
        var name: String,
        @SerializedName("province")
        var province: String,
        @SerializedName("remark")
        var remark: String,
        @SerializedName("sex")
        var sex: String,
        @SerializedName("tags")
        var tags: List<Tag>,
        @SerializedName("telephone")
        var telephone: String
)

data class AddCustomer(
        @SerializedName("address")
        var address: String,
        @SerializedName("birthday")
        var birthday: String,
        @SerializedName("city")
        var city: String,
        @SerializedName("companyName")
        var companyName: String,
        @SerializedName("country")
        var country: String,
        @SerializedName("duty")
        var duty: String,
        @SerializedName("email")
        var email: String,
        @SerializedName("fax")
        var fax: String,
        @SerializedName("groups")
        var groups: List<Group1>,
        @SerializedName("mobile")
        var mobile: String,
        @SerializedName("name")
        var name: String,
        @SerializedName("province")
        var province: String,
        @SerializedName("remark")
        var remark: String,
        @SerializedName("sex")
        var sex: String,
        @SerializedName("tags")
        var tags: List<Tag2>,
        @SerializedName("telephone")
        var telephone: String
)

data class Group1(
        @SerializedName("groupCode")
        var groupCode: String
)

data class Tag2(
        @SerializedName("tagCode")
        var tagCode: String
)